package com.zysstudy.web.domain.model;

import com.zysstudy.web.lock.annotation.RequestKeyParam;

/**
 * @author zhaoyoushui
 * @date 2025/8/1 11:22
 * @Description
 * @Copyright 南京优通信息科技股份有限公司
 */
public class User {

    private String name;

    private Integer age;

    @RequestKeyParam(name = "phone")
    private String phone;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                '}';
    }
}
